package com.yswl.pri.home.av;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.yswl.pri.R;
import com.yswl.pri.common.ToolbarActivity;
import com.yswl.pri.picture.PictureLoftPageListFragment;
import com.yswl.pri.picture.entry.ImageLoftBean;

public class AvModuleActivity extends ToolbarActivity {

    public static void JumpAct(Context context) {
        Intent intent = new Intent(context, AvModuleActivity.class);
        context.startActivity(intent);
    }

    private static final String TAG = AvModuleActivity.class.getSimpleName();

    @Override
    public String getToolbarTitle() {
        return "loft列表";
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_module);
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);
        if (savedInstanceState == null) {
            getSupportFragmentManager().beginTransaction()
                    .replace(R.id.fragment, new AvSplashFragment())
                    .commitAllowingStateLoss();
        }

    }


}
